package jaux.tank.dao.system;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import jaux.tank.bean.entity.system.Dept;

/**
 * Created on 2018/3/21 0021.
 *
 */
public interface DeptRepository extends JpaRepository<Dept, String> {


	List<Dept> findBySimplenameLikeOrFullnameLike(String name, String name2);

	List<Dept> findByParentDeptId(String deptId);

	List<Dept> findAll();
}
